package com.sophossystems.client.asmon.hibernate;

import java.io.Serializable;

import com.sophossystems.client.asmon.dto.DocumentosDTO;

public class Documentos implements Serializable
{
	/**
	 * 
	 */
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4391198297099506000L;

	/** 
	 * This attribute maps to the column idCliente in the DOCUMENTOS table.
	 */
	protected int idCliente;

	/** 
	 * This attribute maps to the column actaCons in the DOCUMENTOS table.
	 */
	protected int actaCons;

	/** 
	 * This attribute represents whether the primitive attribute actaCons is null.
	 */
	protected boolean actaConsNull = true;

	/** 
	 * This attribute maps to the column actaNac in the DOCUMENTOS table.
	 */
	protected int actaNac;

	/** 
	 * This attribute represents whether the primitive attribute actaNac is null.
	 */
	protected boolean actaNacNull = true;

	/** 
	 * This attribute maps to the column identRepLegal in the DOCUMENTOS table.
	 */
	protected int identRepLegal;

	/** 
	 * This attribute represents whether the primitive attribute identRepLegal is null.
	 */
	protected boolean identRepLegalNull = true;

	/** 
	 * This attribute maps to the column identOficial in the DOCUMENTOS table.
	 */
	protected int identOficial;

	/** 
	 * This attribute represents whether the primitive attribute identOficial is null.
	 */
	protected boolean identOficialNull = true;

	/** 
	 * This attribute maps to the column compDomicilio in the DOCUMENTOS table.
	 */
	protected int compDomicilio;

	/** 
	 * This attribute represents whether the primitive attribute compDomicilio is null.
	 */
	protected boolean compDomicilioNull = true;

	/** 
	 * This attribute maps to the column rfc in the DOCUMENTOS table.
	 */
	protected int rfc;

	/** 
	 * This attribute represents whether the primitive attribute rfc is null.
	 */
	protected boolean rfcNull = true;

	/** 
	 * This attribute maps to the column curp in the DOCUMENTOS table.
	 */
	protected int curp;

	/** 
	 * This attribute represents whether the primitive attribute curp is null.
	 */
	protected boolean curpNull = true;

	/** 
	 * This attribute maps to the column fea in the DOCUMENTOS table.
	 */
	protected int fea;

	/** 
	 * This attribute represents whether the primitive attribute fea is null.
	 */
	protected boolean feaNull = true;

	/** 
	 * This attribute maps to the column ciec in the DOCUMENTOS table.
	 */
	protected int ciec;

	/** 
	 * This attribute represents whether the primitive attribute ciec is null.
	 */
	protected boolean ciecNull = true;

	/** 
	 * This attribute maps to the column altaPatronal in the DOCUMENTOS table.
	 */
	protected int altaPatronal;

	/** 
	 * This attribute represents whether the primitive attribute altaPatronal is null.
	 */
	protected boolean altaPatronalNull = true;

	/** 
	 * This attribute maps to the column otro in the DOCUMENTOS table.
	 */
	protected String otro;

	protected int altaShcp;
	
	protected boolean altaShcpNull = true;
	
	protected int idClienteGeneral;
	
	protected boolean idClienteGeneralNull = true;
	/**
	 * Method 'Documentos'
	 * 
	 */
	public Documentos()
	{
	}

	/**
	 * Method 'getIdCliente'
	 * 
	 * @return int
	 */
	public int getIdCliente()
	{
		return idCliente;
	}

	/**
	 * Method 'setIdCliente'
	 * 
	 * @param idCliente
	 */
	public void setIdCliente(int idCliente)
	{
		this.idCliente = idCliente;
	}

	/**
	 * Method 'getActaCons'
	 * 
	 * @return int
	 */
	public int getActaCons()
	{
		return actaCons;
	}

	/**
	 * Method 'setActaCons'
	 * 
	 * @param actaCons
	 */
	public void setActaCons(int actaCons)
	{
		this.actaCons = actaCons;
		this.actaConsNull = false;
	}

	/** 
	 * Sets the value of actaConsNull
	 */
	public void setActaConsNull(boolean actaConsNull)
	{
		this.actaConsNull = actaConsNull;
	}

	/** 
	 * Gets the value of actaConsNull
	 */
	public boolean isActaConsNull()
	{
		return actaConsNull;
	}

	/**
	 * Method 'getActaNac'
	 * 
	 * @return int
	 */
	public int getActaNac()
	{
		return actaNac;
	}

	/**
	 * Method 'setActaNac'
	 * 
	 * @param actaNac
	 */
	public void setActaNac(int actaNac)
	{
		this.actaNac = actaNac;
		this.actaNacNull = false;
	}

	/** 
	 * Sets the value of actaNacNull
	 */
	public void setActaNacNull(boolean actaNacNull)
	{
		this.actaNacNull = actaNacNull;
	}

	/** 
	 * Gets the value of actaNacNull
	 */
	public boolean isActaNacNull()
	{
		return actaNacNull;
	}

	/**
	 * Method 'getIdentRepLegal'
	 * 
	 * @return int
	 */
	public int getIdentRepLegal()
	{
		return identRepLegal;
	}

	/**
	 * Method 'setIdentRepLegal'
	 * 
	 * @param identRepLegal
	 */
	public void setIdentRepLegal(int identRepLegal)
	{
		this.identRepLegal = identRepLegal;
		this.identRepLegalNull = false;
	}

	/** 
	 * Sets the value of identRepLegalNull
	 */
	public void setIdentRepLegalNull(boolean identRepLegalNull)
	{
		this.identRepLegalNull = identRepLegalNull;
	}

	/** 
	 * Gets the value of identRepLegalNull
	 */
	public boolean isIdentRepLegalNull()
	{
		return identRepLegalNull;
	}

	/**
	 * Method 'getIdentOficial'
	 * 
	 * @return int
	 */
	public int getIdentOficial()
	{
		return identOficial;
	}

	/**
	 * Method 'setIdentOficial'
	 * 
	 * @param identOficial
	 */
	public void setIdentOficial(int identOficial)
	{
		this.identOficial = identOficial;
		this.identOficialNull = false;
	}

	/** 
	 * Sets the value of identOficialNull
	 */
	public void setIdentOficialNull(boolean identOficialNull)
	{
		this.identOficialNull = identOficialNull;
	}

	/** 
	 * Gets the value of identOficialNull
	 */
	public boolean isIdentOficialNull()
	{
		return identOficialNull;
	}

	/**
	 * Method 'getCompDomicilio'
	 * 
	 * @return int
	 */
	public int getCompDomicilio()
	{
		return compDomicilio;
	}

	/**
	 * Method 'setCompDomicilio'
	 * 
	 * @param compDomicilio
	 */
	public void setCompDomicilio(int compDomicilio)
	{
		this.compDomicilio = compDomicilio;
		this.compDomicilioNull = false;
	}

	/** 
	 * Sets the value of compDomicilioNull
	 */
	public void setCompDomicilioNull(boolean compDomicilioNull)
	{
		this.compDomicilioNull = compDomicilioNull;
	}

	/** 
	 * Gets the value of compDomicilioNull
	 */
	public boolean isCompDomicilioNull()
	{
		return compDomicilioNull;
	}

	/**
	 * Method 'getRfc'
	 * 
	 * @return int
	 */
	public int getRfc()
	{
		return rfc;
	}

	/**
	 * Method 'setRfc'
	 * 
	 * @param rfc
	 */
	public void setRfc(int rfc)
	{
		this.rfc = rfc;
		this.rfcNull = false;
	}

	/** 
	 * Sets the value of rfcNull
	 */
	public void setRfcNull(boolean rfcNull)
	{
		this.rfcNull = rfcNull;
	}

	/** 
	 * Gets the value of rfcNull
	 */
	public boolean isRfcNull()
	{
		return rfcNull;
	}

	/**
	 * Method 'getCurp'
	 * 
	 * @return int
	 */
	public int getCurp()
	{
		return curp;
	}

	/**
	 * Method 'setCurp'
	 * 
	 * @param curp
	 */
	public void setCurp(int curp)
	{
		this.curp = curp;
		this.curpNull = false;
	}

	/** 
	 * Sets the value of curpNull
	 */
	public void setCurpNull(boolean curpNull)
	{
		this.curpNull = curpNull;
	}

	/** 
	 * Gets the value of curpNull
	 */
	public boolean isCurpNull()
	{
		return curpNull;
	}

	/**
	 * Method 'getFea'
	 * 
	 * @return int
	 */
	public int getFea()
	{
		return fea;
	}

	/**
	 * Method 'setFea'
	 * 
	 * @param fea
	 */
	public void setFea(int fea)
	{
		this.fea = fea;
		this.feaNull = false;
	}

	/** 
	 * Sets the value of feaNull
	 */
	public void setFeaNull(boolean feaNull)
	{
		this.feaNull = feaNull;
	}

	/** 
	 * Gets the value of feaNull
	 */
	public boolean isFeaNull()
	{
		return feaNull;
	}

	/**
	 * Method 'getCiec'
	 * 
	 * @return int
	 */
	public int getCiec()
	{
		return ciec;
	}

	/**
	 * Method 'setCiec'
	 * 
	 * @param ciec
	 */
	public void setCiec(int ciec)
	{
		this.ciec = ciec;
		this.ciecNull = false;
	}

	/** 
	 * Sets the value of ciecNull
	 */
	public void setCiecNull(boolean ciecNull)
	{
		this.ciecNull = ciecNull;
	}

	/** 
	 * Gets the value of ciecNull
	 */
	public boolean isCiecNull()
	{
		return ciecNull;
	}

	/**
	 * Method 'getAltaPatronal'
	 * 
	 * @return int
	 */
	public int getAltaPatronal()
	{
		return altaPatronal;
	}

	/**
	 * Method 'setAltaPatronal'
	 * 
	 * @param altaPatronal
	 */
	public void setAltaPatronal(int altaPatronal)
	{
		this.altaPatronal = altaPatronal;
		this.altaPatronalNull = false;
	}

	/** 
	 * Sets the value of altaPatronalNull
	 */
	public void setAltaPatronalNull(boolean altaPatronalNull)
	{
		this.altaPatronalNull = altaPatronalNull;
	}

	/** 
	 * Gets the value of altaPatronalNull
	 */
	public boolean isAltaPatronalNull()
	{
		return altaPatronalNull;
	}

	/**
	 * Method 'getOtro'
	 * 
	 * @return java.lang.String
	 */
	public java.lang.String getOtro()
	{
		return otro;
	}

	/**
	 * Method 'setOtro'
	 * 
	 * @param otro
	 */
	public void setOtro(java.lang.String otro)
	{
		this.otro = otro;
	}
	
	

	/**
	 * @return the altaShcp
	 */
	public int getAltaShcp() {
		return altaShcp;
	}

	/**
	 * @param altaDhcp the altaShcp to set
	 */
	public void setAltaShcp(int altaShcp) {
		this.altaShcp = altaShcp;
		this.altaShcpNull = false;
	}

	/**
	 * @return the altaShcpNull
	 */
	public boolean isAltaShcpNull() {
		return altaShcpNull;
	}

	/**
	 * @param altaShcpNull the altaShcpNull to set
	 */
	public void setAltaShcpNull(boolean altaShcpNull) {
		this.altaShcpNull = altaShcpNull;
	}

	
	/**
	 * @return the idClienteGeneral
	 */
	public int getIdClienteGeneral() {
		return idClienteGeneral;
	}

	/**
	 * @param idClienteGeneral the idClienteGeneral to set
	 */
	public void setIdClienteGeneral(int idClienteGeneral) {
		this.idClienteGeneral = idClienteGeneral;
	}

	/**
	 * @return the idClienteGeneralNull
	 */
	public boolean isIdClienteGeneralNull() {
		return idClienteGeneralNull;
	}

	/**
	 * @param idClienteGeneralNull the idClienteGeneralNull to set
	 */
	public void setIdClienteGeneralNull(boolean idClienteGeneralNull) {
		this.idClienteGeneralNull = idClienteGeneralNull;
	}

	public void mapper(DocumentosDTO documentos){
		
		this.actaCons = documentos.getActaCons();
		this.actaNac = documentos.getActaNac();
		this.altaPatronal = documentos.getAltaPatronal();
		this.ciec = documentos.getCiec();
		this.compDomicilio = documentos.getCompDomicilio();
		this.curp = documentos.getCurp();
		this.fea = documentos.getFea();
		this.idCliente = documentos.getIdCliente();
		this.identOficial = documentos.getIdentOficial();
		this.identRepLegal = documentos.getIdentRepLegal();
		this.otro = documentos.getOtro();
		this.rfc = documentos.getRfc();
		this.altaShcp = documentos.getAltaShcp();
		this.idClienteGeneral = documentos.getIdClienteGeneral();
	}
}
